package juc;

public class ChildrenDemo extends ParentDemo {


    public ChildrenDemo(String name) {
        super();
    }

    @Override
    public Long test1() {
        System.out.println("children test1");
        return 1000L;
    }


    public static void main(String[] args) {
        ChildrenDemo demo = new ChildrenDemo("小明");
        demo.test1();
    }



}
